include ../autoconf.mk

$(SUBBUILD) : command function

$(SUBCHECK) : parse-test

parse-test : $(PWD)/parse-test.c
	$(CC) $(CFLAGS) $(LDFLAGS) $(PWD)/command.o $(PWD)/function.o $(PWD)/parse-test.c -o parse-test

command : $(PWD)/command.c $(PWD)/command.h
	$(CC) $(CFLAGS) -c $(PWD)/command.c

function : $(PWD)/function.c $(PWD)/function.h
	$(CC) $(CFLAGS) -c $(PWD)/function.c
